package com.bw;

public class XiaoHong implements Perfume,RedWine{


    private DiorPerfume diorPerfume;
    private LFRedWine lfRedWine;

    public void setLfRedWine(LFRedWine lfRedWine) {
        this.lfRedWine = lfRedWine;
    }

    public void setDiorPerfume(DiorPerfume diorPerfume) {
        this.diorPerfume = diorPerfume;
    }

    @Override
    public void salePerfume() {
        // 小红需要获取小明的身份信息
        System.out.println("---小红 索要小明的身份证，用来报关-----");
        diorPerfume.salePerfume();
        System.out.println("------小红 结算， 发物流--------");
    }

    @Override
    public void saleWine() {

        // 小红需要获取小明的身份信息
        System.out.println("---小红 索要小明的身份证，用来报关-----");
        lfRedWine.saleWine();
        System.out.println("------小红 结算， 发物流--------");

    }
}
